﻿using KstopaSmartPlc.Services.Smart;
using System.Configuration;
using System.Security.Policy;
using System.Windows.Controls;
using System.Windows.Input;

namespace OP10.Views
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        private readonly ISmartService smartService;

        public MainWindow(ISmartService smartService)
        {
            InitializeComponent();
            this.smartService = smartService;
        }
        /// <summary>
        /// 最小化按钮点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.WindowState = WindowState.Minimized;
        }

    }
}
